package or.exa.cangguan.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserInfoDto {
    private Integer id;

    /**
     * 用户名
     */
    private String userName;



    /**
     * 角色id
     */
    private Integer roleId;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
